package com.ctshk.rpc.visa.req.visa;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.Valid;
import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.List;

/**
 * TODO
 *
 * @author huangxiansheng
 * @date 2021/5/14 10:40 上午
 */
@Data
@ApiModel(value="VisaOrderRefundApprovalReq对象", description="签证退款审批请求")
public class VisaOrderRefundApprovalReq implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "用户Id")
    private Long userId;

    @NotNull(message = "审批实例Id不能为空")
    @ApiModelProperty(value = "审批实例Id")
    private Long approvalId;

    @NotNull(message = "相关业务id不能为空")
    @ApiModelProperty(value = "相关业务id")
    private Long businessId;

    @NotNull(message = "审批状态不能为空")
    @ApiModelProperty(value = "审批状态（0：撤回，3：审批不通过，4：审批通过）")
    private Integer approvalStatus;

    @ApiModelProperty(value = "备注")
    private String comments;

    @ApiModelProperty(value = "额外参数")
    private String extendParams;

    @Valid
    @ApiModelProperty(value = "退款明细集合")
    private List<Visa0rderRefundListReq> visaOrderRefundListReqList;
}
